import { request } from '@/utils/request';

const Api = {
  List: '/proxy/migration/list',
  add: '/proxy/migration',
};

// 列表
export function getList(params: any) {
  return request.get({
    url: Api.List,
    params,
  });
}

// 添加
export function add(data: any) {
  return request.post({
    url: Api.add,
    data,
  });
}
